const express = require('express');
const router = express.Router();
const infoService = require("../../../service/info.service");
const { upload } = require('../../../utils/upload')

router.post("/", upload.single('file'), infoService.create);

router.get("/", infoService.findAll);

router.delete("/:id", infoService.delete);

module.exports = router;
